package com.wst.system.server.service;

import com.wst.system.server.entity.SysDict;
import com.wst.system.server.entity.vo.SysDictVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wst.system.config.exception.GlobalExcetion;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wst.system.server.entity.vo.PageSearchVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2025-02-28
 */
public interface SysDictService extends IService<SysDict> {

    public SysDict saveSysDict(SysDict sysdict) throws GlobalExcetion;

    public SysDict updateSysDictById(SysDict sysdict) throws GlobalExcetion;

    public SysDict saveOrUpdateSysDict(SysDictVo sysdictVo) throws GlobalExcetion;

    public IPage<SysDict> page(PageSearchVo vo) throws GlobalExcetion;

}